<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片精灵</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        #box1 {
            position: relative;
            margin: 0 auto;
            width: 66px;
            height: 66px;
            /* border: #000 1px solid; */
            margin-top: 100px;
            overflow: hidden;
        }
        
        #img1 {
            position: absolute;
            top: -136px;
            left: -133px;
        }
        
        #box2 {
            position: relative;
            margin: 0 auto;
            width: 66px;
            height: 66px;
            /* border: #000 1px solid; */
            margin-top: 100px;
            overflow: hidden;
        }
        
        #img2 {
            position: absolute;
            top: -71px;
            left: -133px;
        }
    </style>
</head>

<body>
    <div id="box1">
        <img id="img1" src="./img/jingling.png" alt="">
    </div>
    <div id="box2">
        <img id="img2" src="./img/jingling.png" alt="">
    </div>
</body>

</html>